import { Input } from "antd"
import { FC } from "react"

import { SFormItem } from "@/components/common"
import { useLocale } from "@/locales"

const GameTypeNameInput: FC<any> = ({ isHideLabel = false }) => {
	const { formatMessage } = useLocale()
	return (
		<SFormItem name="gameTypeName" label={isHideLabel ? "" : formatMessage({ id: "report.game_type_name" })}>
			<Input allowClear placeholder={formatMessage({ id: "label.please_enter" })} />
		</SFormItem>
	)
}

export default GameTypeNameInput
